home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 September / Australian PC User - September 2003 (CD1).iso / magstuff / web / files / psp801ev.exe / Data1.cab / MIPTemplate_Print_C2540.PspS < prev    next >
Encoding:
Text File  |  2003-06-06  |  6.8 KB  |  204 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': '',
  6.         'Copyright': '',
  7.         'Description': '',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.01 Beta 20030515.10'
  10.         }
  11.  
  12. def MIPTemplate_Print():
  13.     return {
  14.         'PrintingOptions': {
  15.             'PrinterName': None, 
  16.             'Orientation': 0, 
  17.             'NumCopies': 1, 
  18.             'Negative': App.Constants.Boolean.false, 
  19.             'Background': App.Constants.Boolean.false, 
  20.             'BackgroundColor': (255,255,255), 
  21.             'OutputOption': 0, 
  22.             'CornerCropmarks': App.Constants.Boolean.false, 
  23.             'CenterCropmarks': App.Constants.Boolean.false, 
  24.             'RegistrationMarks': App.Constants.Boolean.false, 
  25.             'ImageLabels': App.Constants.Boolean.false, 
  26.             'Header': App.Constants.Boolean.false, 
  27.             'HeaderText': r'', 
  28.             'Footer': App.Constants.Boolean.false, 
  29.             'FooterText': r'', 
  30.             'CMYKLabels': App.Constants.Boolean.false, 
  31.             'PrintQuality': 200, 
  32.             'PaperSize': 1
  33.             }, 
  34.         'MIPCmdFile': r'', 
  35.         'TemplateMetric': App.Constants.Boolean.false, 
  36.         'PageDimensions': (8.26667,11.69), 
  37.         'TemplateCategory': r'Avery International', 
  38.         'Template': [{
  39.             'CellPosition': (0.8575,0.8575), 
  40.             'CellSize': (1.245,1.635), 
  41.             'ImagePlacement': 2, 
  42.             'ImagePath': r'', 
  43.             'RotationAngle': 0, 
  44.             'ImagePosition': (0,0), 
  45.             'ImageSize': (0,0)
  46.             },{
  47.             'CellPosition': (0.8575,2.9475), 
  48.             'CellSize': (1.245,1.635), 
  49.             'ImagePlacement': 2, 
  50.             'ImagePath': r'', 
  51.             'RotationAngle': 0, 
  52.             'ImagePosition': (0,0), 
  53.             'ImageSize': (0,0)
  54.             },{
  55.             'CellPosition': (0.8575,5.0375), 
  56.             'CellSize': (1.245,1.635), 
  57.             'ImagePlacement': 2, 
  58.             'ImagePath': r'', 
  59.             'RotationAngle': 0, 
  60.             'ImagePosition': (0,0), 
  61.             'ImageSize': (0,0)
  62.             },{
  63.             'CellPosition': (0.8575,7.1275), 
  64.             'CellSize': (1.245,1.635), 
  65.             'ImagePlacement': 2, 
  66.             'ImagePath': r'', 
  67.             'RotationAngle': 0, 
  68.             'ImagePosition': (0,0), 
  69.             'ImageSize': (0,0)
  70.             },{
  71.             'CellPosition': (0.8575,9.2175), 
  72.             'CellSize': (1.245,1.635), 
  73.             'ImagePlacement': 2, 
  74.             'ImagePath': r'', 
  75.             'RotationAngle': 0, 
  76.             'ImagePosition': (0,0), 
  77.             'ImageSize': (0,0)
  78.             },{
  79.             'CellPosition': (2.6275,0.8575), 
  80.             'CellSize': (1.245,1.635), 
  81.             'ImagePlacement': 2, 
  82.             'ImagePath': r'', 
  83.             'RotationAngle': 0, 
  84.             'ImagePosition': (0,0), 
  85.             'ImageSize': (0,0)
  86.             },{
  87.             'CellPosition': (2.6275,2.9475), 
  88.             'CellSize': (1.245,1.635), 
  89.             'ImagePlacement': 2, 
  90.             'ImagePath': r'', 
  91.             'RotationAngle': 0, 
  92.             'ImagePosition': (0,0), 
  93.             'ImageSize': (0,0)
  94.             },{
  95.             'CellPosition': (2.6275,5.0375), 
  96.             'CellSize': (1.245,1.635), 
  97.             'ImagePlacement': 2, 
  98.             'ImagePath': r'', 
  99.             'RotationAngle': 0, 
  100.             'ImagePosition': (0,0), 
  101.             'ImageSize': (0,0)
  102.             },{
  103.             'CellPosition': (2.6275,7.1275), 
  104.             'CellSize': (1.245,1.635), 
  105.             'ImagePlacement': 2, 
  106.             'ImagePath': r'', 
  107.             'RotationAngle': 0, 
  108.             'ImagePosition': (0,0), 
  109.             'ImageSize': (0,0)
  110.             },{
  111.             'CellPosition': (2.6275,9.2175), 
  112.             'CellSize': (1.245,1.635), 
  113.             'ImagePlacement': 2, 
  114.             'ImagePath': r'', 
  115.             'RotationAngle': 0, 
  116.             'ImagePosition': (0,0), 
  117.             'ImageSize': (0,0)
  118.             },{
  119.             'CellPosition': (4.3975,0.8575), 
  120.             'CellSize': (1.245,1.635), 
  121.             'ImagePlacement': 2, 
  122.             'ImagePath': r'', 
  123.             'RotationAngle': 0, 
  124.             'ImagePosition': (0,0), 
  125.             'ImageSize': (0,0)
  126.             },{
  127.             'CellPosition': (4.3975,2.9475), 
  128.             'CellSize': (1.245,1.635), 
  129.             'ImagePlacement': 2, 
  130.             'ImagePath': r'', 
  131.             'RotationAngle': 0, 
  132.             'ImagePosition': (0,0), 
  133.             'ImageSize': (0,0)
  134.             },{
  135.             'CellPosition': (4.3975,5.0375), 
  136.             'CellSize': (1.245,1.635), 
  137.             'ImagePlacement': 2, 
  138.             'ImagePath': r'', 
  139.             'RotationAngle': 0, 
  140.             'ImagePosition': (0,0), 
  141.             'ImageSize': (0,0)
  142.             },{
  143.             'CellPosition': (4.3975,7.1275), 
  144.             'CellSize': (1.245,1.635), 
  145.             'ImagePlacement': 2, 
  146.             'ImagePath': r'', 
  147.             'RotationAngle': 0, 
  148.             'ImagePosition': (0,0), 
  149.             'ImageSize': (0,0)
  150.             },{
  151.             'CellPosition': (4.3975,9.2175), 
  152.             'CellSize': (1.245,1.635), 
  153.             'ImagePlacement': 2, 
  154.             'ImagePath': r'', 
  155.             'RotationAngle': 0, 
  156.             'ImagePosition': (0,0), 
  157.             'ImageSize': (0,0)
  158.             },{
  159.             'CellPosition': (6.1675,0.8575), 
  160.             'CellSize': (1.245,1.635), 
  161.             'ImagePlacement': 2, 
  162.             'ImagePath': r'', 
  163.             'RotationAngle': 0, 
  164.             'ImagePosition': (0,0), 
  165.             'ImageSize': (0,0)
  166.             },{
  167.             'CellPosition': (6.1675,2.9475), 
  168.             'CellSize': (1.245,1.635), 
  169.             'ImagePlacement': 2, 
  170.             'ImagePath': r'', 
  171.             'RotationAngle': 0, 
  172.             'ImagePosition': (0,0), 
  173.             'ImageSize': (0,0)
  174.             },{
  175.             'CellPosition': (6.1675,5.0375), 
  176.             'CellSize': (1.245,1.635), 
  177.             'ImagePlacement': 2, 
  178.             'ImagePath': r'', 
  179.             'RotationAngle': 0, 
  180.             'ImagePosition': (0,0), 
  181.             'ImageSize': (0,0)
  182.             },{
  183.             'CellPosition': (6.1675,7.1275), 
  184.             'CellSize': (1.245,1.635), 
  185.             'ImagePlacement': 2, 
  186.             'ImagePath': r'', 
  187.             'RotationAngle': 0, 
  188.             'ImagePosition': (0,0), 
  189.             'ImageSize': (0,0)
  190.             },{
  191.             'CellPosition': (6.1675,9.2175), 
  192.             'CellSize': (1.245,1.635), 
  193.             'ImagePlacement': 2, 
  194.             'ImagePath': r'', 
  195.             'RotationAngle': 0, 
  196.             'ImagePosition': (0,0), 
  197.             'ImageSize': (0,0)
  198.             }]
  199.         }
  200.  
  201. def Do(Environment):
  202.     App.Do( Environment, 'Print',         MIPTemplate_Print())
  203.  
  204.